package com.dyh.quickdemozwei.protect;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @Author: yhdong
 * @Date: 2021/9/18 10:16
 */
@Slf4j
@Service
public class FooUpdateService {

    @UpdateProtect
    public String update(){
        log.info("do update");
        return "ok";
    }
}
